Classification And Optimization of Nested Queries in Object Bases

نویسندگان

  • Sophie Cluet
  • Guido Moerkotte
چکیده

Many declarative query languages for object-oriented (oo) databases allow nested subqueries. This paper contains a complete classiication of oo nested queries and appropriate unnesting optimization strategies based on algebraic rewriting. We adapt some known relational techniques and introduce new ones that use and are concerned with features speciic to object-oriented queries. In particular, we introduce two new and powerful grouping operators which will form the basis for our unnesting techniques.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Nested Queries in Object Bases

Many declarative query languages for object oriented oo databases allow nested subqueries This paper contains the rst algebra which is capable of handling arbitrary nested queries and the rst complete classi cation of oo nested queries and the according unnesting strategies For unnesting a two phase approach is used The rst phase called dependency based optimization transforms queries at the qu...

متن کامل

Nested Queries in Object Bases

[12] W. Kiessling. SQL-like and Quel-like correlation queries with aggregates revisited. 12 representing the result of f applied to the set of elements of e whose attribute a is equal to m. The above equivalence applied to the query yields: Note that the max function can be computed in a single scan (linear time) for max g;m;a;f if f is linear. Also note that an equivalent treatment for min can...

متن کامل

Relational Databases Query Optimization using Hybrid Evolutionary Algorithm

Optimizing the database queries is one of hard research problems. Exhaustive search techniques like dynamic programming is suitable for queries with a few relations, but by increasing the number of relations in query, much use of memory and processing is needed, and the use of these methods is not suitable, so we have to use random and evolutionary methods. The use of evolutionary methods, beca...

متن کامل

Optimization of Nested Queries in a Complex Object Model

Transformation of nested SQL queries into join queries is advantageous because a nested SQL query can be looked upon as a nested-loop join, which is just one of the several join implementations that may be available in a relational DBMS. In join queries, dangling (unmatched) operand tuples are lost, which causes a problem in transforming nested queries having the aggregate function COUNT betwee...

متن کامل

Optimization of Object Query Languages

Transformation of nested SQL queries into join queries is advantageous because a nestedSQL query can be looked upon as a nested-loop join, which is just one of the several joinimplementations that may be available in a relational DBMS. In join queries, dangling(unmatched) operand tuples are lost, which causes a problem in transforming nestedqueries having the aggregate funct...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994